home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / gplot386.zip / README < prev    next >
Text File  |  1992-06-06  |  4KB  |  104 lines

  1. Notes on the gnuplot help files and documentation.
  2.  
  3. Gnuplot documentation is available in three ways:
  4.  
  5. 1 - interactively, within gnuplot
  6. 2 - as a printed document. 
  7. 3 - as a manual page, through the Unix man(1) facility
  8.  
  9. The first two forms describe the inner workings, and contain
  10. equivalent information, while the third form tells how to run gnuplot.
  11.  
  12. The two first forms above derive their information from the file
  13. gnuplot.doc, which is the MASTER copy of gnuplot help information. All
  14. other forms, except for gnuplot.1, the man page, are derived from it. 
  15.  
  16. gnuplot.doc -> gnuplot.hlp 
  17.             -> gnuplot.gih
  18.             -> gnuplot.tex
  19.             -> gnuplot.ms
  20.                                       
  21. On VMS the interactive help is supplied by the system help facility,
  22. using the gnuplot.hlp file. This is made with ('make hlp').  On Unix,
  23. AmigaDOS, and MSDOS the interactive help is built in to the program,
  24. and uses the gnuplot.gih file ('make gih').
  25.  
  26. The printed document is available in either latex or troff/nroff (ms)
  27. format, using gnuplot.tex or gnuplot.ms, derived from gnuplot.doc with
  28. either doc2tex or doc2ms. Type 'make dvi' or 'make nroff'. For troff,
  29. type 'make ms' and then troff -ms gnuplot.ms in whatever way you use
  30. troff.
  31.  
  32. If VMS users prefer the gnuplot interactive help facility to the
  33. system facility, this can be easily changed in command.c.
  34.  
  35.  
  36. Description of the gnuplot.doc format:
  37. --------------------------------------
  38.  
  39. Here is an example of the DOC master help format:
  40.  
  41. ?
  42. 1 gnuplot
  43.  GNUPLOT is a command-driven interactive function plotting program.  It
  44.  ...
  45. ?exit
  46. 2 exit
  47.  'exit', 'quit' and ...
  48. ?expressions
  49. 2 expressions
  50.  In general, any mathematical expression accepted by C, ...
  51.  
  52.  Topics:
  53.  functions operators
  54. ?expressions functions
  55. ?functions
  56. 3 functions
  57.  The functions in GNUPLOT are ...
  58.  
  59.  Topics:
  60.  abs acos arg ...
  61. ?expressions functions abs
  62. ?functions abs
  63. ?abs
  64. 4 abs
  65.  This function returns the absolute value of its argument.  The
  66.  returned value is of the same type as the argument. 
  67. ?expressions functions acos
  68. ?functions acos
  69. ?acos
  70. 4 acos
  71.  This function returns the arc cosine (inverse cosine) of its
  72.  argument.  'acos' returns its argument in radians. 
  73.  
  74.  
  75. Some notes about the format:
  76. ----------------------------
  77. Remember that all text must be able to be processed by gnuplot, VMS,
  78.  nroff, troff, and latex, and always do something reasonable. 
  79. The first column is reserved for control characters.
  80. Text does not start in the first column.
  81. Lines that start in column 2 may be typeset by LaTeX.
  82. Lines that have a space in column 2 are to be printed in a verbatim
  83.  environment by LaTeX.
  84. Do NOT use tabs in the help file.
  85. Conversion from this format to vax .hlp file involves removal of
  86.  lines starting with [?@#$%] (see doc2hlp). VMS uses the numbers
  87.  to represent a tree. 
  88. Conversion from this format to gnuplot .gih file involves removal of
  89.  lines starting with [0-9@#$%] (see doc2gih). Gnuplot matches your
  90.  help query against the ? lines to find the help information.
  91.  Multiple ? lines for one text block constitute synonyms. The most
  92.  specific should be first, eg 'expressions functions' before 'functions'.
  93.  Spaces are allowed here, but should be single.
  94. Backquote pairs are converted by the doc2tex program into boldface;
  95.  that is, `some text` is converted to {\bf some text}. Be sure to pair
  96.  the backquotes, or the whole document will be boldface!
  97.  
  98. Control characters in first column:
  99. ?    used by .gih format, for builtin interactive help - keyword
  100. 0-9  used by VMS help and by doc2{tex,ms} formatters to define level,keyword
  101. @    used by doc2{tex,ms} to define table start/end
  102. #    used by doc2tex: table entry
  103. %    used by doc2ms: table entry
  104.